package com.have.blog.admin.domain.dto;

import com.have.blog.base.dto.BaseDto;
import com.have.blog.base.validator.annotation.NotBlank;
import com.have.blog.base.validator.group.Insert;
import com.have.blog.base.validator.group.Update;
import lombok.Data;

@Data
public class StudyVideoDto extends BaseDto<StudyVideoDto> {
    /**
     * 视频名称
     */
    @NotBlank(groups = {Insert.class, Update.class})
    private String name;

    /**
     * 视频简介
     */
    private String summary;

    /**
     * 视频内容介绍
     */
    private String content;

    /**
     * 百度云完整路径
     */
    private String baiduPath;

    /**
     * 视频封面图片UID
     */
    private Integer coverPictureUid;

    /**
     * 资源分类UID
     */
    @NotBlank(groups = {Insert.class, Update.class})
    private Integer resourceCategoryUid;

    private String clickCount;


    private String parentUid;

    private String photoUrl;

    private ResourceCategoryDto resourceCategoryDto;


}
